Api.WriteAxisMop method
Writes a value of the Modes of Operation variable into an axis.
Namespace: IntervalZero.KINGSTAR.Local.Api
Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0
Syntax
public KsError WriteAxisMop(
int Index,
byte Value
)
Public Function WriteAxisMop(
Index As Integer,
Value As Byte
) As KsError
Parameters
Index
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Value
Type: byte
The value to write.
Return value
A return code of a method.
Remarks
- Used in the cyclic callback to update the Modes of Operation of an axis. This method should only be used when the CANopen state is Not Ready.
Usable EtherCAT states
ecatOP
Examples
N/A
See also